Yes, you're totally allowed to bring a metal hydro flask as long as it's empty. I recommend that you send it through the scanner separate from your carry-on. The reason for this is that x-rays can't go through metal, so the TSA officers will most likely need to physically make sure there isn't liquid inside.