You could not be both a depository institution and an investment bank.
Deposits of the US Treasury, depository institutions, foreign Banks and official institutions, as well as vault cash in depository institutions are excluded.
The Fed has never given loans to anyone other than a depository institution that is a bank until last month, except they did so in the Depression.