is it wrong ?

sooo I still love my ex, I’m not in love, but I love him. He said he didn’t want me in any romantic way or whatever and I was cool with it. It hurt but it was whatever to me, so lately I just haven’t been giving af anymore, if he is there or isn’t. He is the one to text me, then double text and I’ll reply later if anything. but right now he said something sexual asf and I played along, so my question would it be wrong to be fwb with an ex you are really close with?