I have just had a look at the datasheet for the PIC12F1840 and it is available in a 3mm x 3mm x 0.5mm package. (I have only used the DIL package version.) You could do the software development using the DIL version but you will probably have to get someone to manufacture the final version .
Les.
Les.