Text this: Application of ALPIDE pixel detector for heavy-ion nuclear experiment and ion therapy