Yes and no. Loving yourself generally means you are a positive person. People are naturally attracted to happy and positive people. No one wants to hang out with a negative person.
Having said that everything we get in life requires some type of "action" on our part. Even a lottery winner buys a ticket!
Loving yourself at home is not going bring you love. You have to get out and mingle with people, socialize, and have a genuine interest in getting to know others as well as saying (yes) to "possibilities".
"The Law of Attraction" does not replace "The Law of Action".
"If you want something different you have to do something different!"