it could be done. something like:
_object = nearestobject player
_type = typeof _object
*insert check to make sure that the nearestobject is not a munition or outrageously large*
player addaction [format["Pick up: %1",_type],[] exec "throw.sqs"]
then make throw.sqs use velocity and direction of player to chuck the object
[syntax nowhere near guaranteed]