Direct answer: Sometimes, but an uphill swing is a special installation. A normal arm may bind or put the wrong force on the gate.
Use a model or special arm that the maker approves for uphill movement. Eagle, for example, sells an uphill swivel-arm option for some swing systems.