Lets see, you've been living with her for 10 years, she's your girlfriend..am I missing something here? You should be able to get any kind of hug she's willing to give you, I'm not sure where ethics apply to this question.
Good Grief, No. You should be able to ask her about almost anything considering the length of your relationship. You having to ask the question sounds like you may have trouble showing your feelings or are not confident in this relationship. Just Saying. Hope things work out well, now go get that hug, but make it casual. Don't act like it some big deal.