Studs can be welded with fillet welds per AWS 7.5.5, but all the criteria of that section. If there is metal deck involved I am not sure if the criteria can be met, because the stud has to fit against the base metal which is the beam and the metal deck would be in the way.
Also there is minimum size of fillet required depending on the diameter of the stud this is located in table 7.2