If there's actually a funeral going on, I think it's a good idea not to do hill repeats next to them or to lap them.
I grew up in house next to cemetery, and one of the rules was you couldn't play outside when there was a funeral. Getting back on topic, I Think as long as you're respectful, it should be ok.