Yes – don’t cast spells on other people, think in terms of casting the spell on yourself. Transform yourself into the kind of person that other people love naturally of their own free-will.
However, make sure you actually do change, instead of appearing to change. If you just cast a glamour on yourself, not only are you being dishonest (which will have its own payback), but you haven’t actually removed the reason why you were single to begin with. In other words, you may succeed in attracting a new partner into your life, but without real change they would just walk straight out again soon enough.