Continuous unbounded but integrable functions
Solution 1:
Yes, that's correct. You can change the spacing, the widths, heights, and shape of the peaks, you can add an integrable bounded strictly positive function, but the principle is the same, you need narrow high peaks marching off to infinity.