I wanted to ask, if someone flirts with a woman in order to get into Mutah with her, is it haram as well?

By default it’s haram. However, if one is a desperate state and continuing single is unbearable, and this would be the only way to make her accept, then it would be permissible per the law of necessity.