Totally double posting here but if you decide a pig isn't something you really want to get into, I'd highly suggest rats. Yes, rats. I had four over the course of a few years and they're AWESOME. They've very easy to care for, I find they have the fewest issues out of small animals (not none, but they're not awful) and they're very friendly once they're used to you. Should you choose rats, I suggest boys over girls as they tend to be a bit more mellow and friendly, and you need to keep them in at least a pair, preferably from young. Females are also prone to mammary gland tumors, and while usually not immediately life threatening, I just find it easier to keep boys. They need stuff to chew but not as much as pigs do, they need less food and you can give them fruits and veg as well (they love it) and they're very clean and not as noisy as pigs. Rats will naturally train themselves to use certain spots in their cage as the toilet and they are fastidious about cleaning themselves. They do like a lot of room so you'd still need a decent size cage, but with small spaces between the bars because if they can fit their head through something, they can fit their whole body through. As much as I hate to say this as I got very attached to mine, some people like that they don't have a super long life span (2-4 years). I suppose they see it as an easier commitment to make. Truly I find the only issue with rats is as long as there's food around, they'll eat, so they can be prone to obesity but that's easily regulated by only feeding them enough to satisfy them at meals, not having tons of snacks around the cage. You can also teach them simple tricks, they'll learn their names, some people can teach them to fetch and sit and stand up on command, and even leash train them! Definitely worth considering!
**From your friendly Disboard pro rat council**