No, of course. It's not nice to ask your ex where he spent last night and who's with him. He's not even yours anymore.
Let's put it this way, it's not even "not nice" anymore, it's more like you have no right to ask.
Let me reiterate that to you, my friend, he is your EX. And exes are supposed to be past tensed, closed book and faded pictures.