Yes, as long as you have the rights entitlement in your demat account, you are eligible to apply for rights issues. This is irrespective of whether you got the rights entitlement because of having the shares as on record date, or buying rights entitlement from the secondary market.