The answer is yes. I'm tempted to leave it there because this sounds like a homework question, but I think its an interesting problem.
If you can only use those three operations, you have to use both temp queues.
Basically you have to dequeue from the main queue and put the item into temp queue A. Dequeue all items from temp queue B (empty at first) into A. Then do the same thing only reverse the order from A to B. You always enqueue into the temp queue that is empty, and then put in all the items from the other temp queue. When the queue to be reversed is empty, you can just dequeue from the non-empty temp queue and enqueue into the primary queue and you should be reversed.
I would give pseudo-code, but again, I'm worried I'm doing your homework for you.