Is there any sort of automated OS upgrade possible on BBB?

As per the subject, do any of the OS options (Linux distributions
rather) on BBB make it easy to keep up to date and/or upgrade version?

E.g. if I install Ubuntu on BBB can I then use the standard Ubuntu
upgrade options:-

    prompt$ apt-get update
    prompt$ apt-get upgrade

... and more to the point:-

    prompt$ do-release-upgrade

which will upgrade an Ubuntu system to the next release.