I think it is fine to work two major body parts on the same day…as long as the volume is lower and the frequency is more.
As for 2 days in a row I think it is fine as long and you are not training the same muslce indirectly. For example if you do chest one day then the next day you do shoulders…when you did chest you hit your shoulders indirectly and on both days you hit triceps indirectly. When I desing routines I try to focus on not overlapping the same muscle through indirect training.