D.C.
I would suggest following your motherly instincts on this one.
If the doctor has suggested that you continue to control her movement during the night, I'd put up with the bed sharing. Watch out that that cast doesn't hit you on the nose in the middle of the night! Maybe sleeping near you will help reduce how much she bruises herself with that cast.?! I don't know.
I'm glad she is healing and doing so well!