No, the referral program is meant for inviting new users to Swiggy. Ordering food for yourself using your own code doesn't count as a valid referral.