Yes, it can be done, but not usually with a thin cover garment in hot weather.
The problem with the G17 (and other full-size service-style autoloaders) is the length of the grip. If holstered pointing straight down, the grip pokes rearward, printing against the cover garment. Making sure your holster is set-up to angle the weapon muzzle-to-the-rear (forward cant) will effectively "shorten" the grip, minimizing any printing at the rear, with the trade-off of a different grip angle that has to be managed during the draw. Picture the butt end of the grip being directly over the muzzle-end of the barrel when the weapon is holstered; this is ideal for concealment, but less than optimal for the draw stroke, and takes some getting used to.
You'll also need a holster that sucks that big double-column-magazine-holding grip frame in tight against your body.
I live in a cooler part of the country, so my cover garments can be thicker or layered without looking too out-of-place for 8-9 months of the year. During mid-summer, though, the G17 is a tough choice for concealment.
"Placement is power" -- seen in an article by Stephen A. Camp
(RIP, Mr. Camp; you will be remembered, and missed)