Laying on back?

Is it safe to lay on my back while I’m awake?? I know you’re not supposed to sleep on your back. This is probably a stupid question but I just want to know because my hips hurt all the time from laying on my side constantly