It is absolutely likely, but it's not something you could do without getting a bit nitty gritty. Some users have downvoted your question; this is because your question is rather open-ended; a little Googling might help before you ask.
As it stands, there are methods of accessing Alexa with a Raspi - you can easily create your own app that accesses Alexa APIs if you register for Amazon Developer.
I'm not entirely sure on the exact solution to controlling the Samsung, as it depends on the exact model and software available, and can be a little finnicky at times.
However, one tried-and-tested method is to take the thing you've got - the remote itself. It's extremely likely to be an infra-red controller, something you could probably analyse the patterns of with an IR camera and then communicate to the TV with an IR LED on your Raspi.
This might take some effort, though - if the IR patterns don't exist online, you'd probably have to figure them out manually. Alternatively, you could put the remote in a steady position relative to the camera and record and mirror the IR output of a certain pixel on the remote LED for each button. Either way, by having a direct-to-remote method of access, you would be able to easily automate certain controls, though they'd be limited by how quick the TV's UI is, of course, and you'd need to hook up a camera or similar to read data from the TV display (eg volume, channel).
It's undoubtedly a bit more than a weekend project, but there's nothing stopping you from making an automated remote if the Samsung APIs don't exist, and if they do you could try your luck on those. Either way, good luck with your project!