Yes, it is easy to do something like this with an awk script...
Normally, a CSV file would have the same number of fields in every output line. There doesn't seem to be anything in your input file that indicates how many fields are present in the data. (We know that it is at least 101 fields, but we have no idea how many zero fields should appear at the ends each output line.) How is your script supposed to determine the number of fields to include in the output?
A CSV file also usually uses a comma as the field separator, but you seem to want a space character as the field separator. Is that correct?
Will there ever be anything other than :1 at the ends of the input fields (other than the 1st field)? For example, if a line had a lot of ones and a few zeros, could the input use fields ending with :0 instead of :1 to produce a shorter input line? Is all of the data you want to process in this same format? For example, the "diabetes" files on the site you referenced are in a completely different format.
Will each input line have the same number of fields as in your sample input? Or, can the number of ones in input and output lines vary?