Q: is it ok if i make tracks that sound similar to other songs but i didnt even know those songs existed
A: yes that's fine. if you get a #1 smash hit, then various people will probably try to steal some credit for it, regardless of what your song sounds like