Can an aftermarket boost gauge be housed in the stock housing and use the existing stock wires?

Has anybody done this?