Yes, Apple sometimes slows down old iPhones to prevent unexpected shutdowns
This could be why your iPhone is slow AF.