Optimal P Trap height
You cannot just arbitrarily raise a trap to whatever height you want, it depends on the configuration of the venting system.

For example, if your lav sink drains into a horizontal wet vent type the trap weir must be below the vent connection height.