This isn't really possible, no.
It could, in theory, be done with some 'clever' coding, but it wouldn't be pretty and probably wouldn't function properly as a normal brick (since it'd probably be made up of two bricks instead or wouldn't be a brick at all)