Yes, it is possible that the symbol as well as the formula of an element can be the same (X). However, this is not applicable to all the elements.
For example, all mono-atomic (made up of only one atom) elements like C, Na, Ca, He, etc., have the symbol and formula.