Can you post an article on arXiv while under peer review? Would doing so go against the declaration many journals require that the author has not submitted the work anywhere else?
It depends on the journal.  If it is not found on their web site, ask them.