The answer is no. 5 grams are equal to 5 milligrams.
"Milli" means million so a milligram is one-millionth of a gram.