Creating multible Vagrant VMs with Packer

Hello everyone, I was wondering if it was possible to create multiple Vagrant vms like this Vagrantfile but within Packer

Vagrant.configure("2") do |config|

  config.vm.define "jkn-mst-01" do |web|
    config.vm.box = "debian/buster64"
  end

  config.vm.define "jkn-wrk-01" do |db|
    config.vm.box = "debian/buster64"
  end

config.vm.provider "virtualbox" do |vb|
  #   # This part doesn't really matter
     vb.gui = false
     vb.cpus = 2
     # Customize the amount of memory on the VM:
     vb.memory = "4096"
  end
end

Here’s the basic packer build file

source "vagrant" "debian" {
  communicator = "ssh"
  source_path  = "debian/buster64"
  provider     = "virtualbox"
  add_force    = true
  box_name     = "jkn"
  output_dir   = "jenkins"
}

build {
  name        = "${local.name}"
  description = local.description

  sources = [
    "source.vagrant.debian",
  ]
}