On the host, make an Ubuntu toolbox container. Stock Ubuntu would probably work as well.
distrobox create -Y -i quay.io/toolbx/ubuntu-toolbox:22.04 -n packettracer
Then enter the container and install things.
# On the host
distrobox enter packettracer
# In the container
sudo apt update
sudo apt dist-upgrade -y
sudo apt install -y ~/Downloads/Packet_Tracer822_amd64_signed.deb # Obviously, you need to set this to the actual path of the file
sudo apt install -y kate # We're installing Kate because the Packet Tracer deb package _does not_ have complete Qt dependencies it actually needs, and I can't be bothered to find out every single package
distrobox-export -a packettracer
Now you may launch Packet Tracer from the launcher, as per usual.