ULPT request: what can one do with iphones from an old job that have their encrypted software

Can phones used for a healthcare setting be reset somehow for regular use?