You asked:

is sole proprietorship a legal entity

Yes. A Sole proprietorship is a human being, organisation or other legal person.
Sole proprietorship