Yes! If you’d like to edit an existing log in your diary, tap the log and make the edits in the nutrition information window, then press Save.
If you want to log a food from history but edit it before logging, just tap on it and make the changes in the nutrition information window.