If you're willing to make the investment in tooling, it can be done. Frame building isn't rocket science. But you're also more likely to spend much more on tooling than you would just buying a frame.
Other things you might consider include a technical school shop class that would give you access to welding equipment and tools, or a dedicated frame building class such as those offered by
United Bicycle Institute or
Doug Fattic (among others).