Sta-Rite Max-E-Pro P6E6E-206L Single Speed Pump Motor Swpped for a Variable Speed Motor

Is it possible to replace the single speed motor on my sta-rite max-e-pro p6e6e-206l with a variable speed motor?  The pump is fairly new so is it possible to couple a VS motor to the pump?

The motor name plate says:

Model: K48L2PA105

HP: 1

Code: L

A friend of mine did this with his pool pump and I was wondering if it can be done to mine?

Thanks Sabaro