Yes, you may apply for Adjustment of status while on H-1B visa. You may be the beneficiary of an immigrant visa petition or take other steps towards Lawful Permanent Resident status without affecting H-1B status. Under the law you could exhibit both immigrant and non-immigrant intent (dual intent) at the same time.