How can I DIY this fireplace refurbishing project?
It sounds like your original setup was a gas log, maybe some heat but mostly  decorative. All the electric models I know of are zero clearance so you should have no problems installing an electric model in that space.
I would probably seal it off so no heat was lost up the stack as you won’t need a vent with all electric. But follow the manufacturers instructions and it will be fine.