Yes, but per my last point and cdcaveman's comment, building your own system should only be considered if pre-built / open-source systems don't fulfill your requirements, which you are yet to detail.
Language, platform, data source, broker etc. are all highly dependent on what you're trying...