No it won't work. Proper pedal boxes weren't made so that people could waste some money. Have you considered pedal throw and the ratio of movement between the pedal and the cylinder? Have you even considered safety and that the brakes are about the most important thing on the car and something that should only be done properly?
*shakes head and walks away*