2.5d physics

Firstly, let me explain what I mean by the topic title. I’m making a 2d game but still want to use bullet physics to produce collisions and the ensuing reactions and rotations. Is there a way I can constrain the position of physics objects to a plane?

I realise that this will produce some unrealistic results but actually this might contribute to the aesthetic of my game.