Sure. You always want the pin out the same , most important! And also important is the filament voltage and heater current.
Look up a Hickok tube sheet for 12ax7. You will see there are a number of variants, ECC83,7025, CV4004. 12ax7 and 7025 are US designations , ECC is European , CV is a British variant.
Here's an example of EZ80 and it's cousins. If you notice there are certain caveats. I always check the tube data to make sure what is on a sellers page is correct