Of course.Same concept as current from photovoltaic cells?
But a solar cell has two terminals for the current to flow, as does any source of electricity.
It's not generated out of thin air at a single terminal.
The other terminal for the base current in a phototransistor has to be the collector.
You cannot have more current coming out of the emitter of a phototransistor, then goes into the collector.