When I did the photography challenge, I had a sim who stole graves from the graveyard and socialized with them and other ghosts at the graveyard in order to get the Oh My Ghost opportunity. She never knew anyone who died, and yet she was able to get the opportunity within a few days in both my practice and actual runs. Obviously, she didn't mourn, so I'd say mourning is unnecessary.