Is it okay to have a crush

On a man who is not your husband? I would never do anything. Like its only in my head? But it makes me happy to get dressed up to go to work.