Can I work part-time as a real estate agent?

Yes, you can use your real estate license whenever you wish, including part-time.
In fact, many real estate licensees choose not to work full-time.
As an independent contractor, your sponsoring broker cannot tell you how many hours you have to work.