Yes, that is actually not a problem since I want to have a distance of about 1.5m between the garage and the house anyway, then a canopy between the house entrance and the garage
If you place a prefabricated garage directly next to a house, only two things are necessary: 1. Joint planning of the construction processes so that the garage foundations are laid without causing damage to the house, and 2. A roof-wall connection strip.
If you now want to provide a roof as a separate structure between the house and the garage, it actually only gets more complicated because you have to ensure two connections. Therefore, in this case, you should particularly pay attention to integrated planning and, if necessary, not buy a prefabricated garage but have everything made as a single unit and from one source.
Oh, by the way, we have a concrete garage (but no wooden house).