Yes, dual nationals are subject to Pakistani laws while they are in the country.
Citizenship status
If you hold Pakistani citizenship, you are treated as a Pakistani national under local law, regardless of any additional nationality.
Legal jurisdiction
Foreign diplomatic protections generally do not override local jurisdiction when a person is recognized as a citizen.
Practical awareness
Understanding that legal status is based on citizenship helps avoid misunderstandings during your stay.