HA has an Apache 2.0 license and here is their TOS. I haven’t really seen anything that directly answers your question with a yes or no so I’m not really sure. I’m also not sure its possible to give a simple yes or no answer to that question, it would probably depend on what your plan for monetization was.
I’m not a lawyer and not particularly keen to wade through that dense language of legalese I linked. But I’d say if your plan is to monetize something related to HA then read through that and ensure you are sticking within the confines of what is allowed. If you’re unclear if a specific part of your plan is allowed or not then ask specifically about that either here or on discord and hopefully someone can answer.