Yes, you can write condolences directly on the obituary page, which appear in the “Sympathy messages” section.