Yes, you can.
Simply insert a table with the required rows and columns. Tap anywhere in the table and the table toolbar will appear. In the bottom row there are several tools to input formulas, summing, currency format, date, etc., just like a spreadsheet. You can copy those rows and the formula updates to the new row. Caveat: sometimes it gets broken. Have not found how or why yet. Sometimes I copy a row and instead of the formula, the result of that formula gets copied. That means if I change the number the end result in the last cell doesn't get updated. Which isn't always obvious.

I use this to make invoices for our small business. There are several columns, a number column and a tariff column, the last column multiplies the number and tariff using a formula and at the bottom there's a sum. I even have two VAT percentages which the table calculates and there is a formula to add all of them to a total. Make sure you select the cell above and below your list of numbers and inserting rows in between will update in the sum.

I especially use Writer for this because ms Word does not automatically update calculations in tables, only in embedded Excel sheets or when you instruct it to, which is too much of a hassle.

You just have to keep an eye out for those hickups.