Hello
Technically it should work for tables, not for index compression (optimal compression option cannot be set globally but should be compute for each index).
But by adding table compression clause in the DDL<DBS>.TPL file you will activate compression for all tables, that is not recommended... as some tables should not be compressed (see note 1431296 - LOB conversion and table compression with BRSPACE 7.20)
Regards