Not exactly but yes! You can do very simple averaging and peak capture over time periods within the widget by using the aggregation method option.
More complex calculations will require you to create synthetic variables. You create these in the device page. There are full details in the manual.