Yes, as long as you don't exercise in the same place for four days, that is, exercise your chest muscles today, at least until the day after tomorrow, and then exercise your back or shoulders tomorrow.
Because muscles grow during rest, the recovery period of muscles is generally 24-48 hours. Exercise can only be effective if you give your muscles enough rest time.