By using smaller surfactants, we were able to produce metal oxides (which are also sort of ceramics) in the form of thin films and having pores size as small as 3 nm. I recommend you to check my published work. For smaller pores, you need to go the MOFs or zeolites. MOFs are also produced in thin films.