Can my girlfriend be the payable nanny for my DCA?

My girlfriend and I live together and we have two children together but we are not married. I have a dependent care account and I put in $5k a year. We aren’t sure if we will be using a nanny this year and I’m

wondering about the legality of paying her as the nanny.