Use Packer's docker plugin to actually build ISO images

Is it possible to leverage packer with its docker plugin to not just build custom Containers but also create ISO Images from them?

I want to create a custom Ubuntu Image where I can add users and groups as well as custom scripts on it.

Based on this post From Docker Container to Bootable Linux Disk Image and some other projects like LinuxKit it seems like it is possible to make ISO images from docker containers.

Is it possible to leverage packer to achieve this?

An idea was to have have a base ubuntu container that has all the customizations, but then leverage packer to create:

  1. Containers
  2. virtual machine
  3. ISO Images?