Sure can. macOSUpgradecan help - it's written by someone from Jamf Professional Services. Why it's not baked into the product, I will never understand, but... I've used this for 10.12->10.13, 10.13->10.14, and 10.14-10.15 upgrades. Works great. The most difficult part will probably be the smart group scoping of hardware to make sure you don't try to install a newer OS on a Mac that can't run it (the installer will fail, but).... and caching the appropriate installer on client endpoints.