You say pump but this is really two piece question, pump and motor. You need to confirm with supplier(s) that motor could operate faster using VFD, many have limited bearing so speed could be <5000 rpm max.
Also can pump operated faster? Not cavitate or (if centrifugal as flow seems to indicate) fail due to overspeed if operating faster.