Hello,
Do you mean a pellet only diet? I wouldn't do this. You can use pellets to supplement their current diet, but a diet exclusively of pellets wouldn't be too good for him. He needs LOTS of appropriately size insects, small crickets, silkworms, roaches...etc. Romaine lettuce is also nutritional poor and can give them diarrhea. www.beautifuldragons.com is the best site to go to for nutritional information.
It's also difficult to sex them under 8 inches long. Some males take longer to develop their hemipenes than others, so he's can look like she's for quite some time. Other than that, a female's head will generally be smaller in proportion to her body than a male...females tend to be heavier-bodied, and her tail will taper more sharply than a male's. But with a baby, very hard to tell. You'll have to wait until he/she does some growing. 
-Nicky
-----
Clowns to the left of me
Jokers to the right
Here I am, stuck in the middle with you...

2.1 Bearded Dragons: Gordo, Layne, & Chiquita
2.4 Cats: Zeus, Remi, Kiki, Delilah, Sadie & Cheyenne
1.0 Betta: Mr. Purple