While pupusas and tamales are made with the same kind of flour, tamales also have oil and lard whereas pupusas do not. Based on this, they are not a good substitute for one another.