Keeping Egress Window Code Compliant
1) The International Residential Code doesn't make specific mention of whether or not the window can swing in. Egress windows are typically double hung, sliding, or casement (outward swinging). Although I don't care for it, if the normal operation of the window involves it swinging inward, I don't think I could prohibit it. Judgement call for sure.
Why would you want it to swing inward? I'd be opposed to it because in an emergency or panic situation, an outward swinging window would be easier to get out of. That being said, I don't think I could stop someone from doing it.
2) Your egress opening can be located deep below grade. Several feet is not necessarily uncommon. If the distance from the bottom of the egress well is in excess of 44" below grade, a code compliant egress ladder must be installed on the side of the well.
4) A well is not specifically required, but you must have at least 6" of clearance between the ground and the siding, windows, and trim features of the home. You could do something with landscape blocks and gravel if you like.
When egressing the window, you must have a clear 36x36x36" space immediately outside the opening. The window can swing into that space and the ladder can encroach.