The two concerns with this are temperature and safety. If you can open the window to the cab, that probably takes care of the temperature problem ... although I think it might still get a little hot back there.

It's not safe for you to ride in the back of the pickup, without a seat belt. And your dogs should really be in crates which are securely tied down, so they can't slide.