i wont recommend to choose such configuration for many reasons
.
- you will probably arrive in CDG in the morning or evening, during peak hours
- you might need at least 20/30 mins for passport check , depends how crowded it will be
- france recently decided to implement health pass , so checks will last longer