Is it possible to create a disposable vm custom template

a custom template {debian or fedora} on which the disposable vm be based