It's certainly doable. You can refer to https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-function-app-portal?pivots=programming-language-csharp and https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-scheduled-function which are quick starts on how to create an HTTP trigger and Timer trigger respectively.
Since you want the logic of the function to be executed by two separate functions, then you can encapsulate the logic into an object that can be instantiated and invoked by both functions.