You can. Cook the salmon for the recommended amount of time, then test the internal temperature at the thickest part of the salmon, ensuring you are not touching the thermometer to the pan itself.