I just tried and successfully installed MongoDB Tutorial to Ubuntu22.04 system. Please find my short tutorial below.

Source 1

Use the following link to go to a great tutorial from end to end (in between there is a short fix that needs another resource later)
REMEMBER to include 'sudo' command when necessary
https://wiki.crowncloud.net/How_To_Install_Duf_On_Ubuntu_22_04?How_to_Install_Latest_MongoDB_on_Ubuntu_22_04

Source 2

Code to fix libssl1.1 installation

echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list
sudo apt-get update
sudo apt-get install libssl1.1

Hope you find this article helpful. Please comment if you have any further question.