I'm not sure what you mean by physics flipping over. can you show me an example from a different game?
nobody has made such a template public, but it's been done before (by CGM). honestly, it seems like a bunch of work and I don't think it'd be worth it. however, if you're entertained by the idea, I could look into it