Can I use assignment or standard working hours when calculating hours-based seniority?

No. To calculate hours-based seniority, you must load hours in the PER_SENIORITY_HOURS table using HCM Data Loader.