yes ! you answered your own question IMO,
sleep good and don't drink alcohol the night before (or the day of),
pre-hydrate the day before and day of and while being tattooed,(water or Gatorade)
eat a good non greasy healthy meal right before getting tattooed,
bring candy (I bring M&M's and Skittles) to eat during the tattoo(the sugar will keep you from passing out),I also bring a banana,beef jerky, and a few cold bottles of water in a little ice chest(no artist has ever minded me doing this,as a matter of fact they have liked it).
keeping up body sugars,potassium,and electrolytes will help to keep you from passing out ,
get yourself mentally in a good place.in the days leading up to and during the tattoo.
ask for a few 5 min breaks to stand up ,stretch,and get the kinks out.
this all helps me have a better overall tattoo experience,and the artist will appreciate it too.