Can a freshman take a senior to prom even if the senior doesn't go to that school?

I’m homeschooled but I’m a senior and I have a freshman boyfriend. Can I go to junior prom with him? And can he go to senior prom with me? Thanks for all your help and God Bless!