Deep sleep causes total relaxation of the muscles. So anything which brings about less deep sleep would not seem to be a good idea. I'm sure I read somewhere that there is medication which is a muscle-relaxant. (But beware, the bladder muscles might also relax too much!)