Yes. A suit for a bare declaration that you are the legal heir of the deceased can be filed under Section 34 of the Specific Relief Act, 1963 without asking for an injunction. But the proviso to Section 34 bars a bare declaration where you are able to seek further relief and omit it. So if someone is in possession of the property or denying your share, also claim possession, partition or injunction as the facts require. Make defendants all persons who deny your status or claim to be heirs, such as other relatives, and any authority whose records you want corrected. The plaint should state the deceased's details and date of death, the family tree, how you are an heir under the applicable personal law, who disputes it and when the cause of action arose, the valuation and court fee, and the relief claimed. Limitation for a declaration is generally three years from when the right is first denied. Standard pleading books have model plaints; adapt one to your facts.