No. You cannot keep any saltwater fish in a 1 gallon tank. You could try a sexy shrimp or a squat lobster.
Are you aware that a 1 gallon tank will be very difficult to maintain properly? If possible, go with at least an 8 or 10 gallon, that will give you space enough for a little goby or two.