yes, but change source in setElementPosition with the vehicle the player is using
-- Very basic vehicle positioner
function consoleSetVehiclePosition ( source, commandName, posX, posY, posZ )
setElementPosition ( getPlayerOccupiedVehicle(source), posX, posY, posZ )
end
addCommandHandler ( "ls", consoleSetVehiclePosition )
it will throw errors if you try to do it on someone not in a vehicle unless you put a check in it, its easy enough so ill let you do it, check the development wiki for help and if you are feeling more adventurous combine it into the player position function by giving it vehicle detection