Instead of making your overpass high, you can also depress the underpass. That way, both over and under can have relaxed grades and accomplish the same thing.
Real railroads sometimes increase tunnel clearance by digging out the ground under the tracks. It's cheaper than re-boring the tunnel walls and ceiling.