There are a lot of different types of brick, so its hard to say, I would guess that it wouldnt be a good substrate material. you can tell by the vinegar test, drop a few drops of vinegar on the rock or brick, if it fizzes or bubbles you cannot use it in your tank. Also, its bound to be sharp and rough, not good for fish, especially bottom feeders or snails.
Also, check out the pinned posts on this page about Fishless Cycling before you get started.