Is it okay to have feelings for an ex?

I think I still love my ex. I don’t really get it, because If he asked me out, I would say no, i don’t want to be with him anymore. But I love him still. After about 8 months after the breakup, I “gave up” trying to get over him. I realized my feelings for him would never change, and if him and I where not right for each-other, then I needed to put my feelings behind me as best I could and start dating, because if I waited for me to be over him, I’d be single forever. Are these normal feelings? Or is something wrong with me? Is it normal to have an ex who you still care about but know you can’t be together? Genuinely asking. Like I could go on and live my best life, I could go on, and watch my ex fall in love and be genuinely happy for him, and it’s not like I’m not living, I’m literally living my best life and also dating, but I can’t stop caring about him.