there are certain legal requirements for pits... i came across them one day so maybe look it up.
You will not be able to have a loose foam pit that is only 3ft deep if that's what you meant, defintely unsafe in my opinion, but as I say check the requirements. i highly doubt it would pass safety checks and legal requirements. although requirements might be different where you are to where I am.
At our gym we are also not allowed to dig into the ground. we were thinking of putting the whole gym up on a platform... as in take out all the equipment, build a wooden platform across the whole gym about 4ft off the concrete floor, and then the pit can be put in the platform and all the equipment on top.
http://www.jetsgym.com.au/Venue%207.JPG look here, this is the gym we got the idea from. See how their floor area is lower, their vaulting and tumble tramp area has been put on a platform so they could put a pit in at the end. It is also a great way to store things, as you can see with the little storage areas under the platform. Maybe think about doing something like this?