1、可以,但写日记一般说:keep a diary.
2、He is writing a diary.(如果前面有提到,就用the)
3、He has written 3/a number of diaries.
4、How many diaries have you written since last year?
5、He has written 3/a number of compositions.
6、How many compositions have you written since last month?