Yes they can. Other Cummins engines have the same sort of variations. It's pretty simple to limit the horsepower with a computer-controlled engine, and they can also limit or expand the turbo boost to adjust horsepower. And later models years often boost the power further as they tweak the design. For 2015, the 6.7L goes as high as 385 hp! However, I believe in the configurations used in motorhome chassis, the choices are 300, 340 and 360 hp.
I have a Cummins ISL 8.9L that generates 370 hp, while some of its sister ISLs can do 400, and later model years of the same engine offer 425 and 450 hp.