We only have Otto Frank's word for it that this is what she would have wanted. And he is known not to have had respect for her legacy in every way, for example editing the diary to remove criticism of himself.
Also, 'wanting to be a writer' does not necessarily mean that you would have wanted to have a specifically private piece of writing published.