Yes, you could re-use them.
You may already have YAML files describing your Kubernetes resources,In this case the module includes an experimental puppet kubernetes convert command for just this situation.
puppet kubernetes convert examples/guestbook.yaml
The above command will output to stdout the Puppet equivalent to the YAML description of Kubernetes resources, including correctly handling multi-document files like the example guestbook.
puppet kubernetes convert examples/guestbook.yaml > guestbook.pp
puppet apply --test guestbook.pp
If you want to then use that Puppet file the simplest way to do so is to redirect the output to a file and then run it with Puppet as shown above.
Ready to master Kubernetes and take your container orchestration skills to the next level? Join our comprehensive Kubernetes Training today!