Can I use a 6mm threaded bolt instead of a bleed valve for hydraulic brakes?
Well you won't be able to bleed your brakes for one thing.  You can buy bleeder screws at auto parts stores.  I've never bought one, but 6 mm sounds like a normal size.  I'd check there.