Vaseline or Petroleum Jelly is safe to use in your nose and can prevent your nose from drying out which can also prevent nosebleeds due to the broken blood vessels in your nose that occur when your nose dries out.
However be aware though that prolonged use of Vaseline in your nose can cause chemical pneumonitis from inhaling the small particles of the petroleum jelly.
But occasional use of the Vaseline or Petroleum Jelly in your nose is okay.