We study theoretically a gas consisting of charged bosons (ions) over the flat dielectric surface at low temperatures and its tendency to form a state with a Bose-Einstein condensate. For the stability of a system, an additional external electric field, which keeps charges at the dielectric surface, is introduced. The formalism is developed in the framework of a self-consistent-field approach, which combines the quasiclassical description in terms of the Wigner distribution functions and the quantum-mechanical approach by employing the Gross-Pitaevskii equation. We predict a formation of the state with a Bose-Einstein condensate and determine the near-critical physical characteristics of the system. It is shown that the thermal and condensate components become spatially separated under these conditions.