Custom interpolation within the fragment shader

I’m asking for an extented flat shading without a provoking vertex. Instead, all 2 or 3 sets of input data shall be passed unmodified to the fragment shader. As some GPUs already interpolate within the fragment shader, this will be a free way to provide custom interpolations.