Tisha
Whatever the reason you are choosing to dig up your roses and plant them in in containers and then sink them back into the bed, yes it can work. The most important thing to remember is to drill enough drainage holes both at the bottom of the pots and all around the pots so that the roots can grow through the pots and are not limited to just the container and so that water will drain well and your roses will not stay too moist.
Edited to add:
This method of planting is often used to protect roses from gopher damage.