Yes, it is OK to apply for a tourist visa after applying for a permanent resident visa. Include proof of ties to Brazil, and also proof of the PR application, then include a letter stating she does not want to jeopardize her PR visa, so will comply with the TRV.
Some forum members have managed to get a TRV under these circumstances, so there's no harm in trying.