Laser-induced condensation of trapped bosonic gases