Not currently possible, you could somewhat manually do it by creating a new dev env, push your code to it for testing, and then delete it again afterwards.
But you would not be able to automate it, and you would need to really know what you are doing to not create issues for yourself